﻿/**  版本信息模板在安装目录下，可自行修改。
* Goods.cs
*
* 功 能： N/A
* 类 名： Goods
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2014/1/8 20:25:43   N/A    初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│　此技术信息为本公司机密信息，未经本公司书面同意禁止向第三方披露．　│
*│　版权所有：动软卓越（北京）科技有限公司　　　　　　　　　　　　　　│
*└──────────────────────────────────┘
*/
using System;
namespace BBPA.Model
{
	/// <summary>
	/// Goods:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Goods
	{
		public Goods()
		{}
		#region Model
		private int _id;
		private string _number;
		private int _rank=0;
		private int _categoryid=0;
		private int _brandid=0;
		private string _name;
		private string _shotrname;
		private string _code;
		private int? _picid;
		private string _description;
		private DateTime _dateandtime= DateTime.Now;
		private int _supplierid;
		private decimal _buyprice=0M;
		private decimal _sellprice=0M;
		private decimal _suggeststoreprice=0M;
		private bool _ispromo= false;
		private bool _isoffshelf= false;
		private int _state=0;
		private int _handrank=0;
		private int _comefrom=1;

        private string _norm = "箱";

        public string Norm
        {
            get { return _norm; }
            set { _norm = value; }
        }

        private string _normtype = "桶";

        public string Normtype
        {
            get { return _normtype; }
            set { _normtype = value; }
        }

        private int _normnum = 1;

        public int Normnum
        {
            get { return _normnum; }
            set { _normnum = value; }
        }
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 编号
		/// </summary>
		public string Number
		{
			set{ _number=value;}
			get{return _number;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int Rank
		{
			set{ _rank=value;}
			get{return _rank;}
		}
		/// <summary>
		/// 产品类别ID
		/// </summary>
		public int CategoryID
		{
			set{ _categoryid=value;}
			get{return _categoryid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int BrandID
		{
			set{ _brandid=value;}
			get{return _brandid;}
		}
		/// <summary>
		/// 产品名称
		/// </summary>
		public string Name
		{
			set{ _name=value;}
			get{return _name;}
		}
		/// <summary>
		/// 产品名称简称
		/// </summary>
		public string ShotrName
		{
			set{ _shotrname=value;}
			get{return _shotrname;}
		}
		/// <summary>
		/// 型号
		/// </summary>
		public string Code
		{
			set{ _code=value;}
			get{return _code;}
		}
		/// <summary>
		/// 封面图片
		/// </summary>
		public int? PicID
		{
			set{ _picid=value;}
			get{return _picid;}
		}
		/// <summary>
		/// 详细描述
		/// </summary>
		public string Description
		{
			set{ _description=value;}
			get{return _description;}
		}
		/// <summary>
		/// 添加日期
		/// </summary>
		public DateTime Dateandtime
		{
			set{ _dateandtime=value;}
			get{return _dateandtime;}
		}
		/// <summary>
		/// 供货商ID
		/// </summary>
		public int SupplierID
		{
			set{ _supplierid=value;}
			get{return _supplierid;}
		}
		/// <summary>
		/// PA进价
		/// </summary>
		public decimal BuyPrice
		{
			set{ _buyprice=value;}
			get{return _buyprice;}
		}
		/// <summary>
		/// PA售价
		/// </summary>
		public decimal SellPrice
		{
			set{ _sellprice=value;}
			get{return _sellprice;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal SuggestStorePrice
		{
			set{ _suggeststoreprice=value;}
			get{return _suggeststoreprice;}
		}
		/// <summary>
		/// 是否：推荐
		/// </summary>
		public bool IsPromo
		{
			set{ _ispromo=value;}
			get{return _ispromo;}
		}
		/// <summary>
		/// 是否：下架
		/// </summary>
		public bool IsOffShelf
		{
			set{ _isoffshelf=value;}
			get{return _isoffshelf;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int State
		{
			set{ _state=value;}
			get{return _state;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int HandRank
		{
			set{ _handrank=value;}
			get{return _handrank;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ComeFrom
		{
			set{ _comefrom=value;}
			get{return _comefrom;}
		}
		#endregion Model

	}
}

